<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
 </head>
 <body>
  
	<script type="text/javascript">
	
		var str = "中文abc123";

		document.write(str);
		document.write("<hr/>");
		
		strEnc = encodeURI(str);
		document.write(strEnc);
		document.write("<hr/>");

		strDec = decodeURI(strEnc);
		document.write(strDec);
		document.write("<hr/>");

		strEnc2 = encodeURIComponent(str);
		document.write(strEnc2);
		document.write("<hr/>");

		strDec2 = decodeURIComponent(strEnc2);
		document.write(strDec2);
		document.write("<hr/>");

	</script>

 </body>
</html>
